package com.fa4j.system.login.model;

import com.fa4j.common.base.model.BaseEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Schema(description = "登录方式")
@Getter
@AllArgsConstructor
public enum LoginType implements BaseEnum {

    PWD(1, "密码", null),
    SMS(2, "短信", "SMS_CAPTCHA"),
    DINGTALK(3, "钉钉", "USER_OATH2_DINGTALK"),
    WECHAT(4, "微信", "USER_OATH2_WECHAT"),
    ;

    private final Integer code;
    private final String name;
    private final String thirdBizCode;
}
